// Copyright (c) 2015-present, salesforce.com, inc. All rights reserved
// Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license

@mixin sub-tab-notification-before($color, $hover-color) {

  &:before {
    animation-duration: 1s;
    animation-iteration-count: 3;
    animation-timing-function: linear;
    background-color: $color;
    bottom: 0;
    content: " ";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: background-color 0.25s cubic-bezier(0.39, 0.575, 0.565, 1);
  }

  &:hover:before {
    background-color: $hover-color;
  }
}
